﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="TimKen.Web.LoginWebForm1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>
        <%=GetLangString("ManagementCenter")%></title>
    <link href="styles/login.css" rel="stylesheet" type="text/css" />
    <script src="../Common/Script/jquery-1.7.2/jquery-1.7.2.js" type="text/javascript"></script>
</head>
</script>
<script type="text/javascript">
    $(function () {
        //窗口样式
        $(".login-text").focus(function () {
            $(this).addClass("login-text-focus");
        }).blur(function () {
            $(this).removeClass("login-text-focus");
        });
    });
</script>
<body style="padding: 10px">
    <form runat="server">
    <div id="login">
        <div id="loginlogo">
        </div>
        <div id="loginpanel">
            <div class="panel-h">
            </div>
            <div class="panel-c">
                <div class="panel-c-l">
                    <table cellpadding="0" cellspacing="0">
                        <tbody>
                            <tr>
                                <td align="left" colspan="2">
                                    <h3>
                                        <%--请使用驿桥网站管理系统账号登陆--%><%=GetLangString("PLSYqLogin") %></h3>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <%=GetLangString("AdminName")%>：
                                </td>
                                <td align="left">
                                    <asp:TextBox ID="username" runat="server" CssClass="login-text"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <%=GetLangString("AdminPassword")%>：
                                </td>
                                <td align="left">
                                    <asp:TextBox TextMode="Password" ID="password" runat="server" CssClass="login-text"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <%--验证码--%><%=GetLangString("Validator") %>：
                                </td>
                                <td align="left">
                                    <asp:TextBox ID="txtCheckCode" runat="server" CssClass="login-text" Style="width: 120px"></asp:TextBox>
                                    <img src="/ashx/ValidateCode.ashx" id="code" alt="CAPTCHA" onclick="this.src='/ashx/ValidateCode.ashx?stamp='+Math.random()"
                                        style="cursor: pointer; height: 25px; margin-bottom: -8px" title='<%=GetLangString("ChangeValidator") %>' />
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <%=GetLangString("ChooseLang")%>：
                                </td>
                                <td align="left">
                                    <asp:DropDownList ID="ddlLanguage" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddlLanguage_SelectedIndexChanged">
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr>
                                <td align="center" colspan="2">
                                    <div>
                                        &nbsp;<asp:Label ID="Msg" runat="server" ForeColor="Red"></asp:Label></div>
                                    <asp:Button ID="btnLogin" runat="server" CssClass="login-btn" OnClick="btnLogin_Click"
                                        UseSubmitBehavior="true" />
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
                <div class="panel-c-r">
                   <%=GetLangString("PII") %>
                    <p>
                        ......</p>
                </div>
            </div>
            <div class="panel-f">
            </div>
        </div>
        <div id="logincopyright">
            Copyright © 2012 &nbsp; &nbsp;<%--请使用驿桥网站管理中心--%><%=GetLangString("PLSYqLogin") %>
        </div>
    </div>
    </form>
</body>
</html>
